#ifndef XCBREGION_H
#define XCBREGION_H
#include <QObject>
class QQuickView;
class XCB_Region: public QObject{
Q_OBJECT
public:
    //explicit XCB_Region(QObject *parent = nullptr) : QObject(parent) {}
    XCB_Region(QQuickView *v, QObject *parent = nullptr):
        view(v),
        QObject(parent) {}

public slots:
    void updateInputRegion();
private:
    QQuickView *view;

};

#endif // XCBREGION_H
